package com.example.his.api.mis.controller.form.system;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
public class UpdateSystemForm {
  @NotNull(message = "id不能为空")
  @Min(value = 1, message = "id不能小于1")
  private Integer id;
  
  @Pattern(regexp = "^[a-zA-Z0-9_]{1,200}$", message = "item格式不正确")
  private String item;
  
  @Pattern(regexp = "^[a-zA-Z0-9]{1,200}$", message = "value格式不正确")
  private String value;
  
  private String remark;
}
